package DataTransfer;
import java.io.InputStream;
import java.util.EventObject;

/**
 * @author alek
 *
 */
public class InputStreamEvent extends EventObject {
	private static final long serialVersionUID = 1L;
	private String msg;
	private InputStream inStream;
	
	public InputStreamEvent(Object source) {
		super(source);
	}
	
	public InputStreamEvent(Object source,String message,InputStream instream) {
		super(source);
		msg=message;
		inStream=instream;
	}
	public String getMessage()
	{
		return msg;
	}
	
	public InputStream getInputStream()
	{
		return inStream;
	}
}
